* {
    margin: 0;
    padding: 0;
}

#bd {
    margin: 0 auto;
    line-height: 1.5;
    font-size: 14px;
    background: #f6f6f6;
    color: #666;
    font-family: -apple-system, Helvetica, sans-serif;
}

.clearfix:after,
.clearfix:before {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* 广告-------- */
.advertising {
    background-color: #333333;
}

.advertising>ul {
    display: flex;
    height: 100%;
    list-style: none;
    line-height: 45px;
    height: 45px;
    text-align: center;
    margin: 0;
}

.advertising>ul li:nth-child(1) {
    width: 8%;
    text-align: center;
}

.advertising>ul li:nth-child(2) {
    width: 10%;
    background-color: rgb(46, 61, 61);
}

.advertising>ul li:nth-child(3) {
    width: 57%;
    color: #fff;
    text-align: center;
    padding-top: 2px;
    white-space: nowrap;
    overflow: hidden;
}

.advertising>ul li:nth-child(4) {
    width: 25%;
    background-color: #F63515;
    color: #fff;
    padding-top: 2px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
}

/*搜索 ----------------- */

.search {
    z-index: 1000;
    top: 0;
    display: flex;
    position: sticky;
    width: 100%;
    height: 44px;
    line-height: 44px;
    background: url(./img/394887328194158a.png!q70.png);
}

.menu {
    width: 40px;
    background-color: #F63515;
    background: url('./img/菜单.png')15px 14px no-repeat;
    background-size: 20px 18px;
}

.search-bar {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

.search-rad {
    height: 30px;
    width: 95%;
    border-radius: 15px;
    background-color: #f7f7f7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.search-rad .jd {
    width: 20px;
    height: 15px;
    margin-left: 15px;
    padding-right: 8px;
    border-right: 1px solid #ddd;
}

.search-rad>i {
    display: inline-block;
    background: url(./img/jd-sprites.png);
    background-position: -80px 0;
    background-size: 200px;
    width: 18px;
    height: 15px;
}

.search-rad #ipt {
    outline: none;
    border: 0;
    width: 73%;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #f7f7f7;

}

.login {
    border: 0;
    width: 40px;
    color: #fff;
}

.slider {
    background-size: 100% 92%;
    height: 140px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-image: url('./img/394887328194158a.png!q70.png');
}

.carousel {
    margin: auto;
}

.a {
    position: relative;
}

.nav-bar {
    height: 162px;
    width: 100%;

}

.nav-l,
.nav-r {
    position: absolute;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    list-style: none;
    align-content: flex-start;
}

.nav-l>li,
.nav-r>li {
    text-align: center;
    box-sizing: border-box;
    width: 20%;
    height: 74px;
    /* border: 1px solid red; */
    /* background-color: aquamarine; */
}

.nav-l>li>img,
.nav-r>li>img {
    width: 2rem;
    margin-top: .5rem;
}

.nav-r {
    left: 100%;
}

.nav-bar span {
    display: block;
    margin-top: .3rem;
    font-size: .6rem;
    color: #666;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.radio {
    display: flex;
    position: absolute;
    bottom: 9px;
    width: 100%;
    height: 14px;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.radio li {
    border-radius: 100%;
    width: 8px;
    height: 9px;
    margin: 0 3px;
    background-color: wheat;
}

.radio li:nth-child(1) {
    background: red;
}

/* 秒杀----------- */
.seckill {
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
}

.seckill-top {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: .6rem;
    background-color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.title-wrap {
    width: 100%;
    height: 34px;
    display: flex;
    justify-content: flex-start;
}

.title-wrap-l {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0;
    color: #333333;
    padding: 8px 5px 0 10px;
    height: 26px;
    width: 19%;
}

.title-wrap-c {
    position: relative;
    display: inline-block;
    padding: 8px 0 0 0;
    vertical-align: top;
    font-size: .8rem;
    color: #ff2727;
    width: 45%;
    height: 26px;

}

.title-wrap-c>span::after {
    height: 18px;
    width: 21px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./img/点.png);
}

.seckill-timer {
    position: absolute;
    width: 76%;
    height: 26px;
    top: 8px;
    left: 39px;
}

.j_sk_h,
.j_sk_m,
.j_sk_s {
    display: inline-block;
    width: 21px;
    color: #fff;
    background-color: #fa2c19;
    border-radius: .2rem;
    text-align: center;
    font-weight: 400;
    height: 18px;
}

.seckill-time-separator {
    width: .3rem;
    line-height: 1.4;
    font-size: .6rem;
    text-align: center;
    font-family: PingFangSC-Regular;
    color: #f2270c;
    font-weight: 700;
}

.title-wrap-r {
    height: 33px;
    float: right;
    padding-top: 6px;
    margin-left: 31px;
    box-sizing: border-box;
    font-size: 15px;
    color: #fa2c19;
}

.title-wrap-r::after {
    display: inline-block;
    content: '';
    background: url('./img/右.png');
    width: 17px;
    height: 17px;
    background-size: 17px;
    vertical-align: text-top;

}

.seckill-slider {
    display: flex;
    height: 100px;
    list-style: none;
    justify-content: space-between;
}

.seckill-slider li {
    display: table-cell;
    padding-top: .5rem;
    width: 57.1667px;
    height: 72px;
    text-align: center;
    color: #fa2c19;

}

.seckill-slider img {
    width: 100%;
    padding: 0 .05rem;
}

.seckill-slider p {
    font-family: JDZhengHT-EN-Regular;
    margin-top: .3rem;
    margin-bottom: 0;
}

/* ----------- */
.similar {
    position: relative;
    margin-left: .5rem;
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.similar-top {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}

.similar-top li {
    width: 49%;
    margin-bottom: 10px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-top li img {
    width: 100%;
}

.similar-product-text {
    box-sizing: border-box;
    height: 31px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    color: #1a1a1a;
    margin-top: 5px;
    line-height: 16px;
    margin-bottom: 3px;
    padding: 0 4px;
}

.similar-top p {
    position: relative;
    /* border: 1px solid red; */
}

.similar-top p em {
    font-style: normal;
    font-size: 13px;
    padding-right: 2px;
}

.similar-top p>.pic {
    font-size: 16px;
    color: red;
    display: inline-block;
    font-family: JDZhengHT-EN-Regular;
}

.similar-top p .sg {
    display: inline-block;
    border: 1px solid red;
    color: red;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: text-bottom;
    box-sizing: border-box;
    height: 16px;
    font-size: 12px;
    padding: 0 3px;
    line-height: 14px;
}

.similar-top p .kxs {
    position: absolute;
    top: .2rem;
    right: -.3em;
    text-align: center;
    color: grey;
    font-size: .5rem;
    height: 1.1rem;
    line-height: 1.1rem;
    padding: 0 .5em;
    background-color: #f0f2f5;
    border-radius: .55rem;
    line-height: 19PX;
    border-top-right-radius: 0;
}

/* ---------------------------------- */
.foo-b {
    display: flex;
    list-style: none;
    bottom: 0;
    /* height: 82px; */
}

.foo-b>li {
    flex: 1;
    box-sizing: border-box;
    background-color: #f0f2f5;
    /* border: 1px solid red; */
}

.foo-b img {
    width: 100%;
}